package timing.ukulele.common.dictionary;

/**
 * 客户端类型
 */
public enum TerminalTypeEnum implements CodeDescriptionEnum {
    UNKNOWN(-1, "未知"),
    WEB(0, "网页"),
    ANDROID(15, "安卓客户端"),
    IOS(20, "苹果客户端"),
    ANDROID_PAD(25, "安卓平板"),
    IOS_PAD(30, "苹果PAD"),
    WECHAT_APP(35, "微信小程序"),
    WECHAT_MP(40, "微信公众号"),
    WINDOW(45, "windows客户端"),
    MAC(50, "MAC客户端");


    private Integer code;
    private String description;

    TerminalTypeEnum(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
